/* 
*/ 

#include <iostream>
#include <string>
using namespace std;

int main()
{
    string s = "hello";   // s is local to main
    {   // new local scope
        string s = "bye"; // new definition of s hides outer s

        // uses inner definition of s; prints ``bye''
        cout << s << endl;  
    }

    // uses s from the outer scope; prints ``hello''
    cout << s << endl;   
    return 0;
}
